package com.harmontronics.hanma.paas.paas.service;

import com.harmontronics.hanma.paas.paas.domain.tenant.service.DynamicDataSourceService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * @author ldb
 */
@Service
public class DynamicDataSourceAppService extends DynamicDataSourceService {


    @Scheduled(cron = "0 */5 * * * ?")
    public void cleanSchedule(){
        this.clean();
    }
}
